使用 SPX-Prepost
进行前处理后,生成的 *.h5part
文件可以直接在 ParaView 中打开,其中包含 1 帧画面。
使用求解器 SPX
计算后,生成的 *--out.h5part
文件可以直接在 ParaView 中打开,其中包含多帧画面。
Properties::Apply
确认数据导入后,可以更改 Properties::Representaion
为 Point Gaussian
,
也可以开启 Filters::Point Interpolation
中的 Point Volume Interpolator
或
SPH Plane Interpolator
(2D) 或 SPH Volume Interpolator
(3D) 选项,对数据进行插值,得到更加平滑的画面。
导出动画时,1s 帧数可以依据 spx.nml
设定的 dt
值计算得到,例如 dt=0.1
时,1s 有 10 帧画面。
其它操作,请参考 ParaView 官方文档,或自行尝试。